package com.wangdao.wechatmall.bean.vo.wx;

import lombok.Data;

/**
 * @author ShuiYi
 * @time 2021-07-12 15:05
 */
@Data
public class BaseDateTopicVO<T> {
    T topic;
    Object[] goods;

    public static <T> BaseDateTopicVO<T> ok(T topic, Object[] goods) {
        BaseDateTopicVO<T> baseDateTopicVO = new  BaseDateTopicVO<>();
        baseDateTopicVO.setTopic(topic);
        baseDateTopicVO.setGoods(goods);
        return baseDateTopicVO;
    }
}
